#include <string>

#include <glm/glm.hpp>

#include "Camera.hpp"

CameraData::CameraData(const std::string& name, glm::vec3 pos, glm::vec3 target, glm::vec3 up, float aspect, float fov, float zNear, float zFar) : 
	name(name), pos(pos), target(target), up(up), fov(fov), aspect(aspect), zNear(zNear), zFar(zFar)
{
}

CCamera::CCamera(CameraData* data) : data(data)
{
}

CameraData* CCamera::GetCameraData()
{
	return data;
}

void CCamera::SetCameraData(CameraData* data)
{
	this->data = data;
}